import {
    observable,
    action
} from "mobx-miniprogram"

export const store = observable({
    activeTabbarIndex: 0,
    updateActiveTabbarIndex: action(function (index) {
        this.activeTabbarIndex = index
    })
})